package object chapter06 {
  //定义当前包共享的属性和方法
  val commonValue = "cobra"

  def commonMethod() = {
    println("我们在" + commonValue + "学习")
  }
}

//package ccc{
//  package ddd{
//    object Test02_PackageObject{
//      def main(args: Array[String]): Unit = {
//          println(school)
//      }
//    }
//  }
//}
//
//package object ccc{
//  val school: String = "school"
//}